//
//  PywDisclaimerView.h
//  PywSdk
//
//  Created by Ampaw on 2017/7/31.
//  Copyright © 2017年 Jade. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_OPTIONS(NSInteger, ButtonTag){
    ButtonTag_Disclaimer = 1,         // 免责声明
    ButtonTag_IsReadDisclaimer = 2,   // 是否已阅读免责声明
};

@class PywDisclaimerView;
@protocol PywDisclaimerViewDelegate <NSObject>
@optional
- (void)didButton:(UIButton *)button index:(NSInteger)index;
@end

/**
 免责声明
 */
@interface PywDisclaimerView : UIView
@property (nonatomic, weak) id<PywDisclaimerViewDelegate> delegate;

/**
 实例化方法

 @param delegate <#delegate description#>
 @return <#return value description#>
 */
- (instancetype)initWithDelegate:(id<PywDisclaimerViewDelegate>)delegate;

@end
